EBL 3.0: SD-2812: Add "Cancel SI" option#609
Merged
Conversation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
User description
SD-2812: Add the option to CANCEL a Shipping Instructions
Also fix a typo in descriptions
PR Type
Enhancement
Description
Extend cancel endpoint to support full Shipping Instructions cancellation
Add
CANCELLEDandDECLINEDstatus values to Shipping InstructionsUpdate
CancelShippingInstructionsUpdateschema with oneOf patternClarify preconditions and postconditions for both cancel scenarios
Add example payloads for cancelling Shipping Instructions
Diagram Walkthrough
File Walkthrough
EBL_v3.0.3.yaml
Extend cancel endpoint for full Shipping Instructions supportebl/v3/EBL_v3.0.3.yaml
/shipping-instructions/{documentReference}endpoint tosupport cancelling both
Updated Shipping Instructionsand fullShipping Instructions15
each cancellation type
CancelShippingInstructionsUpdateschema usingoneOfpatternto support both
updatedShippingInstructionsStatus: UPDATE_CANCELLEDand
shippingInstructionsStatus: CANCELLEDCANCELLEDandDECLINEDstatus values toshippingInstructionsStatusenum in Shipping Instructions schemaInstructions
updatedShippingInstructionStatus→updatedShippingInstructionsStatus)styleguide.json
Styleguide configuration updates.stoplight/styleguide.json